import request from '@/router/axios';
// 设备指标项
export const equipmentIndex = () => {
  return request({
    url: '/api/hg-equipment/report/select/index',
    method: 'get'
  })
}

// 设备类别统计
export const equipmentType = () => {
  return request({
    url: '/api/hg-equipment/report/select/eptType',
    method: 'get'
  })
}

// 设备数量排行Top10
export const getTopTen = () => {
  return request({
    url: '/api/hg-equipment/report/select/eptTop',
    method: 'get'
  })
}

// 本月设备故障统计
export const faultStatistics = () => {
  return request({
    url: '/api/hg-equipment/report/select/eptMonthRepair',
    method: 'get'
  })
}

// 近两天故障发生时段统计
export const eptTimeRepair = () => {
  return request({
    url: '/api/hg-equipment/report/select/eptTimeRepair',
    method: 'get'
  })
}

// 本月设备故障统计
export const eptWorkTop = () => {
  return request({
    url: '/api/hg-equipment/report/select/eptWorkTop',
    method: 'get'
  })
}